﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceCS.DesignPattern.Core.StrategyPattern.ShopStrategy
{
    public abstract class CashBase
    {
        /// <summary>
        /// 接收单价，返回策略处理后的价格
        /// </summary>
        /// <param name="money">单价</param>
        /// <returns></returns>
        public abstract decimal AcceptCash(decimal money);
    }
}
